import {ChangeDetectorRef, Component} from '@angular/core';
import {MessageService} from "./service/messageService";
import {UserService} from "./service/userService";
import "rxjs/add/operator/debounceTime";

@Component({
    selector: 'app-root',
    template: '<router-outlet></router-outlet>'
})
export class AppComponent {
    constructor(private messageService: MessageService,
                private _userService: UserService, private cdr: ChangeDetectorRef) {
        // app level message handle here
    }
}
